/*
 * This file is part of ksPlatform
 * 
 * Copyright (c) 2014-2015
 * 
 * This file is dual-licensed under the AGPLv3 (http://www.gnu.org/licenses/agpl-3.0.html) 
 * 
 * If you are unsure which license is appropriate for your use, please contact the sales department
 * at 97041437@qq.com.
 */
package cn.com.ksplatform.modules.autocode.global.adapter;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.web.servlet.view.velocity.VelocityConfigurer;

import cn.com.ksplatform.modules.autocode.manager.model.Sence;

/**
 * ClassName:IAdapter.java <br/>
 * Date: 2015年11月17日 <br/>
 * 适配器接口
 * @author Mr.Xiao
 * @version 1.0
 */
public interface IAdapter {
	/**
	 * 
	 * @param config Velocity配置
	 * @param moduleModle 模块
	 * @param senceModel 场景
	 * @param columns 列集合
	 * @param request
	 * @param response
	 */
	public void doAdapter(VelocityConfigurer config,Sence senceModel, HttpServletRequest request,
			HttpServletResponse response)throws Exception;
}
